package com.study.manage.domain;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.apache.commons.lang3.builder.ToStringBuilder;

import com.study.manage.domain.enumm.QuestionPushState;

@Entity
@Table(name = "sa_question_push")
public class QuestionPush extends AbstractEntity {

    private static final long serialVersionUID = 2279555290509998327L;

    public Long userId;
    public Long commenterId;
    public String commenterName;
    public String content;
    public String platform;
    public Long blogId;
    public Long blogCommentId;
    public String blogText;
    public QuestionPushState state = QuestionPushState.NotTongZhi;

    public QuestionPush() {

    }

    public QuestionPush(Long id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
